package com.example.service;

import com.alibaba.cola.statemachine.StateMachine;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.context.Context;
import com.example.enums.Events;
import com.example.enums.Status;
import com.example.po.SysSms;

public interface SysSmsService extends IService<SysSms> {

    public SysSms applySms();

    public boolean sendSms(Long id);

    public boolean commitSms(Long id);

    public Status sendEvents(Status status, Events events, Context context);

    public StateMachine getStateMachine();
}
